<template>
<view class="container">
  <web-view :src="url"></web-view>
</view>
</template>

<script>
export default {
  name: "index",
  data() {
    return {
      url: ''
    }
  },
  onLoad(e) {
    this.url = e.url;
  }
}
</script>

<style scoped lang="scss">
.container {
  width: 100%;
  min-height: 100%;
}
</style>
